<div id="content" >
     <br/>  <br/>  
  <h1 style="text-align: center">Nos Partenaires</h1>
  <br/>


  <div id="list-partenaire" style="width:842px;margin: auto;"> 
        <div style="margin-bottom: 15px;width:782px;height:60px; background-color:#2a1303; color:#FFF; font-size:13px; padding: 30px 0px 0px 70px; box-shadow: 0px 2px 8px grey;">
            <div style="">
                <div style="float:left"><?php echo img('images/loupe.jpg'); ?></div>
                <div style="float:left;margin-left: 5px"><input id="ville" name="ville" type="text" value="Votre Ville" size="27" /></div>
                <div style="float:left;margin-left: 5px"><input id="departement" name="departement" type="text" value="Votre D&eacute;partement" size="20" /></div>
                <div style="float:left;margin-left: 5px"><input id="etablissement" name="etablissement" type="text" value="Votre Etablissement" size="30" /></div>
                <div style="float:left;margin-left: 30px"><?php echo img('images/boutonJeTrouve.jpg'); ?></div>
            </div>
           
        </div>
      <div style="margin: auto; margin-bottom:30px; width:823px; height:21px; background-color:#C89F65; color:#FFF; font-size:15px; padding-top:5px; padding-left:20px; padding-right:10px; box-shadow: 0px 2px 8px grey;">
            <div style="float:left">R&eacute;sultats 1-10 sur 347</div>
            <div style="float:right">Page <?php echo $links; ?></div>
        </div>
     
        <?php foreach($results as $data) { ?>
            <div id="partenaire" style="padding: 10px 0px 0px 10px;border:0px solid black;height:176px;width:842px;background-image: url('http://localhost/appprivilege/images/blocOffre.jpg')"> 
               
                <div class="image-partenaire" style="float:left;margin-left:10px;">
                    <?php echo img('images/bep_partenaire.jpg');?>
                </div>
                <div class="information-partenaire"  style="float:left;margin-left:10px;width: 530px">
                    <p style="font-size:20px;"><a href="<?php echo site_url('partenaire/description/'.$data->id) ?>" style="color:#be944f"><?php echo $data->societe;?></a></p>
                    <p style="font-size:14px"><?php echo $data->adresse1.' '.$data->codepostal.' '.$data->ville ?></p>
          <br />
                    <p style="text-align: justify"><span style="color:#cd0072;font-weight: bold;font-size: 15px">>></span> <?php echo strip_tags(mb_strimwidth($data->description,0,350));?><span style="color:#cd0072;font-weight: bold;font-size: 15px"> +++</span></p>
                    <br/><p style="">  <?php //echo $data->horaires; ?></p>
                </div>
                    
            </div>
           
        <?php } ?>
 </div>
 </div>